package cn.cxj.user.service;

import cn.cxj.basic.service.IBaseService;
import cn.cxj.user.domain.User;
import cn.cxj.user.dto.UserDto;

/**
 * 用户模块业务层
 * @author chenxinjie
 * @date 2022-2-6 02:04:20
 */
public interface IUserService extends IBaseService<User> {
    /**
     * 手机号注册
     * @param userDto
     */
    void phoneRegister(UserDto userDto);

    /**
     * 邮箱注册
     * @param userDto
     */
    void emailRegister(UserDto userDto) throws Exception;

    /**
     * 修改状态
     * @param id
     */
    void updateStateById(Long id);
}
